package com.jieshuibao.mapper;

import com.jieshuibao.model.db.Liveroom;
import com.jieshuibao.model.db.LiveroomExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface LiveroomMapper {
    int countByExample(LiveroomExample example);

    int deleteByExample(LiveroomExample example);

    int deleteByPrimaryKey(String roomId);

    int insert(Liveroom record);

    int insertSelective(Liveroom record);

    List<Liveroom> selectByExample(LiveroomExample example);

    Liveroom selectByPrimaryKey(String roomId);

    int updateByExampleSelective(@Param("record") Liveroom record, @Param("example") LiveroomExample example);

    int updateByExample(@Param("record") Liveroom record, @Param("example") LiveroomExample example);

    int updateByPrimaryKeySelective(Liveroom record);

    int updateByPrimaryKey(Liveroom record);

    List<Liveroom> selectPage(LiveroomExample example);
}